package cz.library.entity;

public class Navstevnik {
    private int id_navstevnik;
    private String jmeno;
    private String prijmeni;
    private String login;
    private String pass;
    private String mail;

    public Navstevnik() {
    }

    public Navstevnik(int id_navstevnik, String jmeno, String prijmeni, String login, String pass, String mail) {
        this.id_navstevnik = id_navstevnik;
        this.jmeno = jmeno;
        this.prijmeni = prijmeni;
        this.login = login;
        this.pass = pass;
        this.mail = mail;
    }

    public int getId_navstevnik() {
        return id_navstevnik;
    }

    public void setId_navstevnik(int id_navstevnik) {
        this.id_navstevnik = id_navstevnik;
    }

    @Override
    public String toString(){
        return "["+id_navstevnik+"]" +jmeno+" "+prijmeni+" [Login:"+login+",Pass:"+pass+", Mail: "+mail+"]";
    }
    public String getJmeno() {
        return jmeno;
    }

    public void setJmeno(String jmeno) {
        this.jmeno = jmeno;
    }

    public String getLogin() {
        return login;
    }

    public void setLogin(String login) {
        this.login = login;
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    public String getPass() {
        return pass;
    }

    public void setPass(String pass) {
        this.pass = pass;
    }

    public String getPrijmeni() {
        return prijmeni;
    }

    public void setPrijmeni(String prijmeni) {
        this.prijmeni = prijmeni;
    }


}
